<div class="registration-form">
	<h3 class="popup-title">Восстановление пароля</h3>
	<div class="registration-form__inner">
		<?php
		$form = $this->beginWidget('CActiveForm', array(
			'id' => 'registration-form',
			'action' => '/password/restore?hash=' . (isset($_GET['hash']) ? $_GET['hash'] : ''),
			'enableClientValidation' => true,
			'clientOptions' => array(
				'validateOnSubmit' => true,
			),
		));
		?>
		<div style="display: block; text-align: left;color: #FF7777;
			 font: italic 15px 'Georgia',sans-serif;
			 ">
				 <?php //echo $form->error($model, 'userEmail'); ?>
				 <?php echo $form->error($model, 'userPassword'); ?>
				 <?php echo $form->error($model, 'confirmPassword'); ?>
		</div>
		<fieldset>
			<div class="registration-form__left">
				<div class="registration-form__left__inner">
					<ul>
<!--						<li>
							<div class="type-text">
								<?php //echo $form->textField($model, 'userEmail', array('placeholder' => 'Логин')); ?>								
							</div>
						</li>-->
						<li>
							<div class="type-text">
								<?php echo $form->passwordField($model, 'userPassword', array('placeholder' => 'Новый пароль')); ?>								
							</div>
						</li>
						<li>
							<div class="type-text">
								<?php echo $form->passwordField($model, 'confirmPassword', array('placeholder' => 'Подтвердите пароль')); ?>								
							</div>
						</li>
					</ul>
				</div>	
			</div>
		</fieldset>
		<fieldset class="left">			
			<p>Все поля обязательны для заполнения</p>
			<div class="type-submit">
				<?php echo CHtml::submitButton('Восстановить'); ?>				
			</div> 
		</fieldset>
		<?php $this->endWidget(); ?>
	</div>
</div>
